/*
 * qiangungun.com Inc.
 * Copyright (c) 2014 All Rights Reserved.
 */package com.qiangungun.xts.common.dal.ibatis;import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;import com.qiangungun.xts.common.dal.daointerface.BusinessActionDAO;// auto generated importsimport java.util.List;import org.springframework.dao.DataAccessException;import com.qiangungun.xts.common.dal.dataobject.BusinessActionDO;/** * An ibatis based implementation of dao interface <tt>com.qiangungun.xts.common.dal.daointerface.BusinessActionDAO</tt>. * * This file is generated by <tt>financenet-dalgen</tt>, a DAL (Data Access Layer)
 * code generation utility specially developed for <tt>iwallet</tt> project.
 * 
 * PLEASE DO NOT MODIFY THIS FILE MANUALLY, or else your modification may
 * be OVERWRITTEN by someone else. To modify the file, you should go to 
 * directory <tt>(project-home)/biz/dal/src/conf/dalgen</tt>, and 
 * find the corresponding configuration file (<tt>tables/business_action.xml</tt>). 
 * Modify the configuration file according to your needs, then run <tt>financenet-dalgen</tt> 
 * to generate this file.
 *
 */@SuppressWarnings({"unchecked","deprecation"})public class IbatisBusinessActionDAO extends SqlMapClientDaoSupport implements BusinessActionDAO {	/**
	 *  Query DB table <tt>business_action</tt> for records.
	 *
	 *  <p>
	 *  The sql statement for this operation is <br>
	 *  <tt>select id, activity_id, action_type, context, gmt_create, gmt_modified from business_action where (activity_id = ?)</tt>
	 *
	 *	@param activityId
	 *	@return List<BusinessActionDO>
	 *	@throws DataAccessException
	 */	 
    public List<BusinessActionDO> getByActivityId(String activityId) throws DataAccessException {

        return getSqlMapClientTemplate().queryForList("MS-BUSINESS-ACTION-GET-BY-ACTIVITY-ID", activityId);

    }	}	